@extends('admin/layout/index')


@section('content')
	@if (count($errors) > 0)
	    <div class="mws-form-message error">
	        <ul>
	            @foreach ($errors->all() as $error)
	                <li>{{ $error }}</li>
	            @endforeach
	        </ul>
	    </div>
	@endif

<div class="mws-panel grid_8">
	<div class="mws-panel-header">
    	<span>用户详情</span>
    </div>
    <div class="mws-panel-body no-padding">
    	<form class="mws-form" action="/admin/userdetails/insert" method="post" >
    		{{ csrf_field() }}
            <input type="hidden" name="uid" value="{{ $uid }}">
    		<div class="mws-form-inline">
    			<div class="mws-form-row">
    				<label class="mws-form-label">真实姓名(*必须填写)</label>
    				<div class="mws-form-item">
    					<input type="text" class="small" name="truename" value="{{ old('truename') }}">
    				</div>
    			</div>				
				<div class="mws-form-row">
    				<label class="mws-form-label">性别(*必须填写)</label>
    				<div class="mws-form-item clearfix">
    					<ul class="mws-form-list inline">
    						<li><input type="radio" name="sex" value="男"> <label>男</label></li>
    						<li><input type="radio" name="sex" value="女"> <label>女</label></li>
    						<li><input type="radio" name="sex" value="保密"> <label>保密</label></li>
    					</ul>
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">身份证号(*必须填写)</label>
    				<div class="mws-form-item">
    					<input type="text" class="small" name="idcard" value="{{ old('idcard')}}">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">生日</label>
    				<div class="mws-form-item">
    					<input type="text" class="small" name="birthday" value="{{ old('birthday')}}">
    				</div>
    			</div>
				<div class="mws-form-row">
    				<label class="mws-form-label">身份</label>
    				<div class="mws-form-item clearfix">
    					<ul class="mws-form-list inline">
    						<li><input type="radio" name="indentity" value="学生"> <label>学生</label></li>
    						<li><input type="radio" name="indentity" value="在职"> <label>在职</label></li>
    						<li><input type="radio" name="indentity" value="无业游民"> <label>无业游民</label></li>
    						<li><input type="radio" name="indentity" value="自由职业"> <label>自由职业</label></li>
    						<li><input type="radio" name="indentity" value="其他"> <label>其他</label></li>
    					</ul>
    				</div>
    			</div>
				<div class="mws-form-row">
    				<label class="mws-form-label">个人情况</label>
    				<div class="mws-form-item clearfix">
    					<ul class="mws-form-list inline">
    						<li><input type="radio" name="personinfor" value="单身狗"> <label>单身狗</label></li>
    						<li><input type="radio" name="personinfor" value="恋爱"> <label>恋爱</label></li>
    						<li><input type="radio" name="personinfor" value="已婚"> <label>已婚</label></li>
    						<li><input type="radio" name="personinfor" value="保密"> <label>保密</label></li>
    					</ul>
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">身高</label>
    				<div class="mws-form-item">
    					<select name="height">
    						<option value="">--请选择--</option>
    						@for($i=100;$i<=230;$i++)
    						<option  value="{{ $i }}"> {{ $i }} </option>
    						@endfor
    					</select> cm
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">体重</label>
    				<div class="mws-form-item">
    					<select name="weight">
    						<option value="">--请选择--</option>
    						@for($i=30;$i<=150;$i++)
    						<option  value="{{ $i }}"> {{ $i }} </option>
    						@endfor
    					</select> Kg
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">血型</label>
    				<div class="mws-form-item clearfix">
    					<ul class="mws-form-list inline">
    						<li><input type="radio" name="bloodtype" value="A"> <label>A</label></li>
    						<li><input type="radio" name="bloodtype" value="B"> <label>B</label></li>
    						<li><input type="radio" name="bloodtype" value="AB"> <label>AB</label></li>
    						<li><input type="radio" name="bloodtype" value="O"> <label>O</label></li>
    						<li><input type="radio" name="bloodtype" value="稀有"> <label>稀有</label></li>
    					</ul>
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">居住地</label>
    				<div class="mws-form-item">
    					<input type="text" class="small" name="nowresidence" value="{{ old('nowresidence')}}">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">家乡</label>
    				<div class="mws-form-item">
    					<input type="text" class="small" name="hometown" value="{{ old('hometown')}}">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">收货地址(*必须填写)</label>
    				<div class="mws-form-item">
    					<input type="text" class="small" name="adress" value="{{ old('adress')}}">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">个性签名</label>
    				<div class="mws-form-item">
    					<textarea rows="" cols="" class="large" name="signature" value="{{ old('signature')}}"></textarea>
    				</div>
    			</div>		
    		</div>
    		<div class="mws-button-row">
    			<input type="submit" value="提交" class="btn btn-danger">
    			<input type="reset" value="重置" class="btn ">
    		</div>
    	</form>
    </div>    	
</div>

@endsection